import App from './App'
import Vue from 'vue'
import api from './api/api.js'
import base from './api/base.js'
import user from './api/user_login.js'
// 引入全局uView
import uView from 'uview-ui';
Vue.use(uView);
// import tabBar from "./components/tabbar.vue" //全局引入自定义底部导航
// let play = Vue.component('tabBar', tabBar) //全局注册
// query.select('#app').appendChild(new play().$mount().$el)
Vue.prototype.$hei = uni.getSystemInfoSync().windowHeight - uni.getSystemInfoSync().statusBarHeight;
Vue.prototype.$api = api; //请求
Vue.prototype.$base = base; //请求地址

// 封装登录
Vue.prototype.$login = user.login_user()
//预约跳转封装
Vue.prototype.$emits =user.emits 
App.mpType = 'app'
const app = new Vue({
	...App
})
app.$mount()
